package org.apm.data.check;

import org.apm.data.pusher.CommonMethod;

public class DataReIndexMain {

    public static void main(String[] args) {
        
//        DataReIndex dataReIndex = new JavaTraceDataReIndex();
//        dataReIndex.copyIndexData("apm2.0-115.231.97.148-javatracedata-1", "apm2.0-115.231.97.148-javatracedata-2");
        
      DataReIndex dataReIndex = new EventDataReIndex(CommonMethod.onlineClient(), CommonMethod.EsBulkProcessor.ONLINE.processor());
      dataReIndex.copyIndexData("apm2.0-183.129.153.146-event-back", "apm2.0-183.129.153.146-event-1");

    }
}
